// ComputingMessages.msg
namespace GPUsharing;

message RequestComputingPower {
    int requesterId;
    int requiredPower;
}

message ResponseComputingPower {
    int responderId;
    bool hasEnoughPower;
    int availablePower;
}

message TaskAssignment {
    int requesterId;
    int responderId;
    int taskId;
    string taskData;
}

message TaskResult {
    int requesterId;
    int responderId;
    int taskId;
    bool success;
    string resultData;
}